img {
    display: block;
    width: 100%;
}

a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.clearfix::after {
    content: '.';
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
    line-height: 0;
}

.clearfix {
    *zoom: 1;
}


/* ul {
    margin: 0;
} */


/* 头部开始 */

header {
    display: flex;
    width: 100%;
    height: .44rem;
    align-items: center;
    background: #f4483e;
    padding: 0 .1rem;
    color: #fff;
    span {
        font-size: .18rem;
        font-weight: 600;
    }
    h1 {
        flex: 1;
        font-size: .18rem;
        font-weight: normal;
        text-align: center;
        margin: 0;
    }
    .download {
        background: url('../images/header_app.png') no-repeat;
        background-size: .25rem .25rem;
        width: .25rem;
        height: .25rem;
    }
}


/* 头部结束 */


/* 尾部开始 */

footer {
    margin-top: 10px;
    .tool {
        display: flex;
        font-size: .14rem;
        border-top: 1px solid #666;
        border-bottom: 1px solid #666;
        a {
            border-right: 1px solid #666;
            flex: 1;
            text-align: center;
            &:last-of-type {
                border-right: none;
            }
        }
    }
    .copyright {
        padding-top: 10px;
        font-size: 0.12rem;
        text-align: center;
        a {
            color: red;
            display: inline;
        }
        p {
            padding: 10px 0;
        }
    }
}


/* 尾部结束 */


/* 主体部分开始 */

.main {
    background-color: #fff;
    h4 {
        margin: 0;
        padding: 10px 0;
        color: #666;
        font-size: .14rem;
        font-weight: normal;
        text-align: center;
    }
    .couponList {
        .listItem {
            display: flex;
            border-bottom: 1px solid #ccc;
            margin-bottom: 10px;
            .itemPic {
                width: 100px;
            }
            .itemInfo {
                flex: 1;
                font-size: .16rem;
                position: relative;
                p {
                    font-weight: 600;
                }
                em {
                    color: #f3a04c;
                }
                i {
                    position: absolute;
                    top: 50%;
                    right: 0;
                    transform: translateY(-50%);
                    font-size: .3rem;
                    color: #ccc;
                }
            }
        }
        .mask {
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0px;
            left: 0px;
            background: #000000;
            filter: alpha(opacity=50);
            -moz-opacity: 0.5;
            -khtml-opacity: 0.5;
            opacity: 0.5;
            display: none;
            z-index: 99;
        }
        .tt {
            width: 200px;
            height: 200px;
            position: fixed;
            top: 50%;
            left: 50%;
            display: none;
            z-index: 100;
            transform: translate(-50%, -50%);
            .couponListPic {
                position: fixed;
                width: 200px;
                height: 200px;
                top: 50%;
                left: 50%;
                z-index: 100;
                display: none;
                transform: translate(-50%, -50%);
                /* 轮播图部分开始 */
                .pic-swiper {
                    li {
                        width: 200px;
                        height: 200px;
                    }
                    a {
                        width: 100%;
                        height: 100%;
                    }
                }
                /* 轮播图部分结束 */
            }
            .swiper-button-prev,
            .swiper-button-next {
                height: 64px;
                margin: 1;
                background-color: rgba(0, 0, 0, .5);
                border-radius: 5px;
                width: 50px;
                top: 50%;
                transform: translateY(-50%);
            }
            .swiper-button-prev {
                left: -60px;
            }
            .swiper-button-next {
                right: -60px;
            }
        }
    }
}


/* 主体部分结束 */